package com.tchhy.provider.data.healthy.request

/**
 * Created by admin on 2020-01-13
 */
data class CreateOrderReq(

    var planId: String?="",
    var address: String?="",
    var areaId: String?="",
    var category: String?="",
    var channel: String?="",
    var cityId: String?="",
    var colAccount: String?="",
    var createId: String?="",
    var createIdentity: String?="",
    var createName: String?="",
    var createTime: String?="",
    var decreaseAmount: String?="",
    var deliveryTime: String?="",
    var familyId: String?="",
    var freightAmount: String?="",
    var freightTemplate: String?="",
    var giveId: String?="",
    var giveIdentity: String?="",
    var isGuardian: Boolean?=false,
    var medicineChestNum: String?="",
    var orderNum: String?="",
    var orderTypeCode: String?="",
    var parentId: String?="",
    var partenerName: String?="",
    var payAmount: String?="",
    var payChannel: String?="",
    var payChannelName: String?="",
    var payId: String?="",
    var payMethod: String?="",
    var recipieTime: String?="",
    var refundAmount: String?="",
    var refundChannel: String?="",
    var refundImg: String?="",
    var serialNumber: String?="",
    var status: String?="",
    var statusName: String?="",
    var thirdpartyNum: String?="",
    var totalAmount: String?="",
    var type: String?="",//订单类型 1 快速用药，2用药咨询,3商城 need
    var userName: String?="",
    var userTel: String?="",
    var items: List<Items>?=null
) {
    data class Items(
        var commodityId: String,
        var id: String,
        var imgUrl: String?="",
        var medicineChestNum: String,
        var number: String,
        var orderId: String,
        var price: String,
        var productName: String,
        var salesName: String,
        var totalAmount: String,
        var type: String//"2"//药箱药类型 "3"//自储药类型  "4"//商城药类型
    )
}